<?php if (!defined('ABSPATH')) { die(); }

require_once ABSPATH . DRINC . '/vendors/sphinx/sphinxapi.php';

class SearchEngine {

	public function __construct() {
	}
}

class SphinxSearchEngine extends SearchEngine {

	private $sphinx = null;

	public function __construct($host = '127.0.0.1', $port = 9312) {
		$this->sphinx = new SphinxClient();
		$this->sphinx->SetServer($host, $port);
	}

}
